package cn.example.zjgsu.dao;

import cn.example.zjgsu.pojo.Planitem;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PlanitemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Planitem record);

    Planitem selectByPrimaryKey(Integer id);

    List<Planitem> selectAll();

    int updateByPrimaryKey(Planitem record);

    int selectPrimaryKeyByKindAndPlanId(Integer planid,Integer kind);
}